TSTP Solution File: PUZ141^1 by Lash---1.13

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Lash---1.13
% Problem  : PUZ141^1 : TPTP v8.1.2. Released v6.2.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : lash -P picomus -M modes -p tstp -t %d %s

% Computer : n022.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Thu Aug 31 13:22:01 EDT 2023

% Result   : Theorem 202.45s 202.77s
% Output   : Proof 202.45s
% Verified : 
% SZS Type : ERROR: Analysing output (MakeTreeStats fails)

% Comments : 
%------------------------------------------------------------------------------
thf(ty_direction,type,
    direction: $tType ).

thf(ty_movelist,type,
    movelist: $tType ).

thf(ty_position,type,
    position: $tType ).

thf(ty_next,type,
    next: position > direction > position ).

thf(ty_nomove,type,
    nomove: movelist ).

thf(ty_c00,type,
    c00: position ).

thf(ty_movedir,type,
    movedir: movelist > direction > movelist ).

thf(ty_wall,type,
    wall: position > $o ).

thf(ty_playerpos,type,
    playerpos: movelist > position ).

thf(ty_right,type,
    right: direction ).

thf(sP1,plain,
    ( sP1
  <=> ( ( ( playerpos @ nomove )
        = c00 )
     => ( ~ ( wall @ ( next @ c00 @ right ) )
       => ( ( playerpos @ ( movedir @ nomove @ right ) )
          = ( next @ c00 @ right ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP1])]) ).

thf(sP2,plain,
    ( sP2
  <=> ( ( playerpos @ nomove )
      = c00 ) ),
    introduced(definition,[new_symbols(definition,[sP2])]) ).

thf(sP3,plain,
    ( sP3
  <=> ( ( ( playerpos @ ( movedir @ nomove @ right ) )
        = ( next @ c00 @ right ) )
     => ( ~ ( wall @ ( next @ ( next @ c00 @ right ) @ right ) )
       => ( ( playerpos @ ( movedir @ ( movedir @ nomove @ right ) @ right ) )
          = ( next @ ( next @ c00 @ right ) @ right ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP3])]) ).

thf(sP4,plain,
    ( sP4
  <=> ! [X1: position,X2: movelist,X3: direction] :
        ( ( ( playerpos @ X2 )
          = X1 )
       => ( ~ ( wall @ ( next @ X1 @ X3 ) )
         => ( ( playerpos @ ( movedir @ X2 @ X3 ) )
            = ( next @ X1 @ X3 ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP4])]) ).

thf(sP5,plain,
    ( sP5
  <=> ( ( playerpos @ ( movedir @ nomove @ right ) )
      = ( next @ c00 @ right ) ) ),
    introduced(definition,[new_symbols(definition,[sP5])]) ).

thf(sP6,plain,
    ( sP6
  <=> ( ( playerpos @ ( movedir @ ( movedir @ nomove @ right ) @ right ) )
      = ( next @ ( next @ c00 @ right ) @ right ) ) ),
    introduced(definition,[new_symbols(definition,[sP6])]) ).

thf(sP7,plain,
    ( sP7
  <=> ! [X1: direction] :
        ( sP2
       => ( ~ ( wall @ ( next @ c00 @ X1 ) )
         => ( ( playerpos @ ( movedir @ nomove @ X1 ) )
            = ( next @ c00 @ X1 ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP7])]) ).

thf(sP8,plain,
    ( sP8
  <=> ! [X1: direction] :
        ( sP5
       => ( ~ ( wall @ ( next @ ( next @ c00 @ right ) @ X1 ) )
         => ( ( playerpos @ ( movedir @ ( movedir @ nomove @ right ) @ X1 ) )
            = ( next @ ( next @ c00 @ right ) @ X1 ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP8])]) ).

thf(sP9,plain,
    ( sP9
  <=> ( wall @ ( next @ ( next @ c00 @ right ) @ right ) ) ),
    introduced(definition,[new_symbols(definition,[sP9])]) ).

thf(sP10,plain,
    ( sP10
  <=> ( ~ ( wall @ ( next @ c00 @ right ) )
     => sP5 ) ),
    introduced(definition,[new_symbols(definition,[sP10])]) ).

thf(sP11,plain,
    ( sP11
  <=> ! [X1: movelist] :
        ( ( playerpos @ X1 )
       != ( next @ ( next @ c00 @ right ) @ right ) ) ),
    introduced(definition,[new_symbols(definition,[sP11])]) ).

thf(sP12,plain,
    ( sP12
  <=> ( wall @ ( next @ c00 @ right ) ) ),
    introduced(definition,[new_symbols(definition,[sP12])]) ).

thf(sP13,plain,
    ( sP13
  <=> ! [X1: movelist,X2: direction] :
        ( ( ( playerpos @ X1 )
          = c00 )
       => ( ~ ( wall @ ( next @ c00 @ X2 ) )
         => ( ( playerpos @ ( movedir @ X1 @ X2 ) )
            = ( next @ c00 @ X2 ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP13])]) ).

thf(sP14,plain,
    ( sP14
  <=> ! [X1: movelist,X2: direction] :
        ( ( ( playerpos @ X1 )
          = ( next @ c00 @ right ) )
       => ( ~ ( wall @ ( next @ ( next @ c00 @ right ) @ X2 ) )
         => ( ( playerpos @ ( movedir @ X1 @ X2 ) )
            = ( next @ ( next @ c00 @ right ) @ X2 ) ) ) ) ),
    introduced(definition,[new_symbols(definition,[sP14])]) ).

thf(sP15,plain,
    ( sP15
  <=> ( ~ sP9
     => sP6 ) ),
    introduced(definition,[new_symbols(definition,[sP15])]) ).

thf(def_c10,definition,
    ( c10
    = ( next @ c00 @ right ) ) ).

thf(def_c20,definition,
    ( c20
    = ( next @ c10 @ right ) ) ).

thf(exercise,conjecture,
    ~ sP11 ).

thf(h0,negated_conjecture,
    sP11,
    inference(assume_negation,[status(cth)],[exercise]) ).

thf(1,plain,
    ( ~ sP11
    | ~ sP6 ),
    inference(all_rule,[status(thm)],]) ).

thf(2,plain,
    ( ~ sP15
    | sP9
    | sP6 ),
    inference(prop_rule,[status(thm)],]) ).

thf(3,plain,
    ( ~ sP3
    | ~ sP5
    | sP15 ),
    inference(prop_rule,[status(thm)],]) ).

thf(4,plain,
    ( ~ sP8
    | sP3 ),
    inference(all_rule,[status(thm)],]) ).

thf(5,plain,
    ( ~ sP14
    | sP8 ),
    inference(all_rule,[status(thm)],]) ).

thf(6,plain,
    ( ~ sP10
    | sP12
    | sP5 ),
    inference(prop_rule,[status(thm)],]) ).

thf(7,plain,
    ( ~ sP1
    | ~ sP2
    | sP10 ),
    inference(prop_rule,[status(thm)],]) ).

thf(8,plain,
    ( ~ sP7
    | sP1 ),
    inference(all_rule,[status(thm)],]) ).

thf(9,plain,
    ( ~ sP13
    | sP7 ),
    inference(all_rule,[status(thm)],]) ).

thf(10,plain,
    ( ~ sP4
    | sP13 ),
    inference(all_rule,[status(thm)],]) ).

thf(11,plain,
    ( ~ sP4
    | sP14 ),
    inference(all_rule,[status(thm)],]) ).

thf(start_axiom,axiom,
    sP2 ).

thf(c20_axiom,axiom,
    ~ sP9 ).

thf(c10_axiom,axiom,
    ~ sP12 ).

thf(player_move_legal,axiom,
    sP4 ).

thf(12,plain,
    $false,
    inference(prop_unsat,[status(thm),assumptions([h0])],[1,2,3,4,5,6,7,8,9,10,11,start_axiom,c20_axiom,c10_axiom,player_move_legal,h0]) ).

thf(0,theorem,
    ~ sP11,
    inference(contra,[status(thm),contra(discharge,[h0])],[12,h0]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.13  % Problem  : PUZ141^1 : TPTP v8.1.2. Released v6.2.0.
% 0.00/0.14  % Command  : lash -P picomus -M modes -p tstp -t %d %s
% 0.17/0.35  % Computer : n022.cluster.edu
% 0.17/0.35  % Model    : x86_64 x86_64
% 0.17/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.17/0.35  % Memory   : 8042.1875MB
% 0.17/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.17/0.35  % CPULimit : 300
% 0.17/0.35  % WCLimit  : 300
% 0.17/0.35  % DateTime : Sat Aug 26 22:53:24 EDT 2023
% 0.17/0.35  % CPUTime  : 
% 202.45/202.77  % SZS status Theorem
% 202.45/202.77  % Mode: cade22grackle2x4343
% 202.45/202.77  % Steps: 1113
% 202.45/202.77  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------